package gewu.suleju.sevice.imp;

import gewu.suleju.dao.iml.RentEntrustInfoDao;
import gewu.suleju.model.pojo.RentEntrustInfo;
import gewu.suleju.sevice.IRentEntrustInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RentEntrustInfoServiceImp implements IRentEntrustInfoService {
    @Autowired
    private RentEntrustInfoDao rentEntrustInfoDao;
    @Override
    public List<RentEntrustInfo> findRentEntrustInfosByUserId(Integer userid) {
        return rentEntrustInfoDao.findRentEntrustInfosByUserId(userid);
    }
}
